<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>

  <link rel="stylesheet" href="../常用样式/common.css">
  <style>
    /* 标题区域 */
    @keyframes tit {
      from {
        bottom: 0%;
      }

      to {
        bottom: 70%;
      }
    }

    @-webkit-keyframes tit {

      /* Safari 与 Chrome */
      from {
        bottom: 0%;
      }

      to {
        bottom: 70%;
      }
    }

    /* 气泡区域 */
    @keyframes myfirst {
      from {
        bottom: -10%;
      }

      to {
        bottom: 53%;
      }
    }

    @-webkit-keyframes myfirst {

      /* Safari 与 Chrome */
      from {
        bottom: -10%;
      }

      to {
        bottom: 53%;
      }
    }

    /* 单个气泡 */
    @keyframes bubble {
      from {
        margin-top: 0%;
      }

      to {
        margin-top: 5%;
      }
    }

    @-webkit-keyframes bubble {

      from {
        margin-top: 0%;
      }

      to {
        margin-top: 5%;
      }
    }

    @keyframes bubble1 {
      from {
        margin-top: 5%;
      }

      to {
        margin-top: 0%;
      }
    }

    @-webkit-keyframes bubble1 {

      from {
        margin-top: 20px;
      }

      to {
        margin-top: 0px;
      }
    }

/* 产品 */
    @keyframes product {
      from {
        bottom: -30%;
      }

      to {
        bottom: 0%;
      }
    }

    @-webkit-keyframes product {

      /* Safari 与 Chrome */
      from {
        bottom: -30%;
      }

      to {
        bottom: 0%;
      }
    }

    

    body{
      background-color: pink;
    }
    .app{
      width: 100%;
      position: relative;
      overflow: hidden;
    }
    .app img{
      width: 100%;
    }
    .app .imgs {
      display: block;
      width: 100%;
      margin: 0 auto;
    }

    .app .bubble {
      display: flex;
      justify-content: space-around;
      width: 60%;
      height: 100px;
      animation: myfirst 2s;
      -webkit-animation: myfirst 2s;
      animation-fill-mode:forwards;
    }

    .app .proImg {
      width: 90%;
      display: block;
      margin: 0 auto;
    }

    .app .bubble li:nth-child(even) {
      /* margin-top: 30px; */
      animation: bubble 2s;
      -webkit-animation: bubble 2s;
      /* animation-fill-mode:forwards; */
      animation-direction:alternate;
      animation-iteration-count: infinite;
    }

    .app .bubble li:nth-child(odd){
      animation: bubble1 2s;
      -webkit-animation: bubble1 2s;
      /* animation-fill-mode:forwards; */
      animation-direction:alternate;
      animation-iteration-count: infinite;
    }
    .app .bubble li{
      width: 25%;
    }
    .app .bubble li img{
      width: 50%;
    }
    .app .tit,.bubble,.product,.water{
      
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
    }
    .app .tit{
      width: 30%;
      bottom: 0;
      animation: tit 2s;
      -webkit-animation: tit 2s;
      animation-fill-mode:forwards;
    }
    .app .bubble{
      width: 40%;
      bottom: -200px;
    }
    .app .product{
      width: 50%;
      bottom: -500px;
      animation: product 2s;
      -webkit-animation: product 2s;
      animation-fill-mode:forwards;
    }
    .app .water{
      width: 100%;
      bottom: -4px;
      z-index: 100;
    }
  </style>
</head>

<body>
  <div class="app">
    <img class="imgs" src="../img/洁而亮/banner1.jpg" alt="">
    <div class="water">
      <img src="../img/洁而亮/water.png" alt="">
    </div>
    <div class="tit">
      <img src="../img/洁而亮/tit.png" alt="">
    </div>
    <div class="bubble">
      <li><img src="../img/洁而亮/1.png" alt=""></li>
      <li><img src="../img/洁而亮/2.png" alt=""></li>
      <li><img src="../img/洁而亮/3.png" alt=""></li>
      <li><img src="../img/洁而亮/4.png" alt=""></li>
    </div>
    <div class="product">
      <img class="proImg" src="../img/洁而亮/product.png" alt="">
    </div>
  </div>
</body>

</html>